package com.gali.docker.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

/**
 * @Auther: gali
 * @Date: 2022-08-11 15:15
 * @Description:
 */
@RestController
public class OrderController {
    @Value("${server.port}")
    private String port;
    @GetMapping("/order/docker")
    public String helloDocker(){
        return "hello docker,端口号为：" +port+ UUID.randomUUID().toString();
    }
}
